package com.valten.service;

import com.valten.pojo.Article;

import java.util.List;

public interface ArticleService {
    void save(Article article);

    void batchSave(List<Article> articles);

    void update(Article article);

    void deleteById(Long id);

    Article findById(Long id);

    List<Article> findAll();

    List<Article> findByTitle(String title);
}